package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.OrganizationDepartment;
import com.xmy.cultivate.mapper.OrganizationDepartmentMapper;
import com.xmy.cultivate.service.IOrganizationDepartmentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 组织部门 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-04-28
 */
@Service
public class OrganizationDepartmentServiceImpl extends ServiceImpl<OrganizationDepartmentMapper, OrganizationDepartment> implements IOrganizationDepartmentService {
    @Autowired
    OrganizationDepartmentMapper organizationDepartmentMapper;

    @Override
    public List<OrganizationDepartment> getSchool() {

        return organizationDepartmentMapper.getSchool();
    }


}
